package com.wise.controller;


import com.wise.pojo.Person;
import com.wise.service.IPersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author wise
 * @since 2021-09-22
 */
@RestController
@RequestMapping("/person")
public class PersonController {
    @Autowired
    private IPersonService personService;

    public String savePerson(Person person){
        return personService.savePerson(person);
    }

}
